package com.zzw.java.controller;

import com.zzw.java.service.LevelResultService;
import com.zzw.java.entity.LevelResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author：hcy
 * @Package：com.zzw.java.controller
 * @version：1.0
 * @Date：2025/8/19 14:33
 */


@RestController
@RequestMapping("/user")
public class LevelResultController {
    @Resource
    private LevelResultService levelResultService;

    @GetMapping("/getAll")
    public List<LevelResult> getAll() {
        return levelResultService.list();
    }

}